package com.ruoyi.client.service.impl;

import com.ruoyi.client.mapper.CategoryMapper;
import com.ruoyi.client.mapper.GoodsMapper;
import com.ruoyi.client.pojo.form.GoodsPageForm;
import com.ruoyi.client.pojo.vo.CategoryVo;
import com.ruoyi.client.pojo.vo.GoodsVo;
import com.ruoyi.client.service.ICategoryService;
import com.ruoyi.client.service.IGoodsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author：HuaQP
 * @Date：2024/4/29
 */
@Service
public class GoodsServiceImpl implements IGoodsService {
    @Resource
    private GoodsMapper goodsMapper;

    @Override
    public List<GoodsVo> queryPage(GoodsPageForm form) {
        return goodsMapper.queryPage(form);
    }
}
